#include "IntSet.h"

class IntListSet: public IntSet, IntIterator{
	private:
		int value;
		IntListSet * pnext; //Pointer 2 next element 
		IntListSet * inext; //Pointer 2 iterator next element 

	public:
		IntListSet();
		~IntListSet();
		
		bool contains( int );
		void add( int );
		void rem( int );
		
		IntIterator* newIterator();
		bool hasNext();
		int next();
};